package com.kuang.service;

import com.kuang.mapper.UserDao;

public class UserServiceImpl implements UserService {

  private UserDao userDao;

   //利用set进行动态实现值的注入
    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void getUser() {
        userDao.getUser();
    }
}
